package com.lcf.system.entity;

import com.lcf.framework.model.BaseNoTenantModel;
import com.lcf.system.enums.SysMenuTypeEnum;
import com.lcf.system.enums.SysMenuUseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 菜单(SysMenu)表实体类
 *
 * @author lcf
 * @since 2025-02-25 12:24:22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class SysMenu extends BaseNoTenantModel<SysMenu> {
    //菜单名称
    private String menuName;
    //菜单类型1目录2菜单3按钮
    private SysMenuTypeEnum menuType;
    //菜单用途1平台2租户
    private SysMenuUseEnum menuUse;
    //父菜单id
    private Long parentId;
    //路由标识
    private String menuCode;
    //权限标识（多个以英文逗号间隔，多个接口调用权限）
    private String permissionCodes;
    //排序
    private Integer sortOrder;
}

